package com.cluster.platform.dto;

import com.cluster.platform.model.UmsUserDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;

/**
 * @ClassName: UmsUserDetailDto
 */
@Data
public class UmsUserDetailDto extends UmsUserDetail {

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户头像")
    private String icon;
    @ApiModelProperty(value = "邮箱")
    @Email
    private String email;
    @ApiModelProperty(value = "用户昵称")
    private String nickName;
}
